package com.service;

import java.util.Date;
import java.util.List;

import com.github.pagehelper.PageInfo;
import com.model.Customer;
import com.model.ReponseDto;

public interface ICustomerService {

    /**
     * 获取用户列表
     * 
     * @param userName
     * @param roleId
     * @return
     */
    public ReponseDto<PageInfo> list(String uid, String userName, String invitationCode, String pageNo,Integer pageSize);

    /**
     * 模糊搜索用户列表
     * @param userName
     * @return
     */
    public List<Customer> search(String userName);

    /**
     * 编辑用户
     * 
     * @param customer
     * @param userId
     * @param userName
     * @return
     */
    public ReponseDto<String> edit(Customer customer, String userId, String userName);

    /**
     * 流水详情
     * 
     * @param customerId
     * @param pageNo
     * @return
     */
    public ReponseDto<PageInfo> flowlist(Integer userId, Date startDate, Date endDate, String thirdOrderNo,
            String pageNo,Integer pageSize);

    /**
     * 流水详情
     * 
     * @param customerId
     * @param pageNo
     * @return
     */
    public ReponseDto<PageInfo> relationlist(Integer userId, String uid, String searchType, String pageNo,Integer pageSize);
}
